The Fit to Window button resets your view of the plotline so that you can see the whole plotline in the window.
See Also Editing Functions in the Function Editor Changing Your View of the Function Editor